package com.koalac.ironman.net.pojo.response;

import org.json.JSONObject;

public class HotRecommend extends BaseResponse{
    
    private String id;
    private String headImgUrl;
    private String name;
    private String followNumber;
    private int number_flag;
    
    public static final int ATTENTION = 1;
    public  static final int NO_ATTENTION = 0;
    
    public int getNumber_flag() {
        return number_flag;
    }

    public void setNumber_flag(int number_flag) {
        this.number_flag = number_flag;
    }

    @Override
    public void init(JSONObject source) {
	if (source != null) {
	    setId(source.optString("id"));
	    setHeadImgUrl(source.optString("head_img_url"));
	    setName(source.optString("name"));
	    setFollowNumber(source.optString("follow_number"));
	    setNumber_flag(source.optInt("number_flag"));
	}
    }
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHeadImgUrl() {
        return headImgUrl;
    }

    public void setHeadImgUrl(String headImgUrl) {
        this.headImgUrl = headImgUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFollowNumber() {
        return followNumber;
    }

    public void setFollowNumber(String followNumber) {
        this.followNumber = followNumber;
    }

}
